﻿using Xms.Abp.Application.Services;
using TenantManagement.Localization;
using Xms.Abp.Domain.Repositories;
using System;
using Volo.Abp.Domain.Entities;

namespace TenantManagement;

public abstract class TenantManagementAppServiceBase<TEntity, TKey> : XmsApplicationService<TEntity, TKey>
    where TEntity : Entity<TKey>
{
    protected TenantManagementAppServiceBase(IXmsRepository<TEntity, TKey> repository)
        : base (repository)
    {
        ObjectMapperContext = typeof(TenantManagementApplicationModule);
        LocalizationResource = typeof(TenantManagementResource);
    }
}
